/*==============================
SHERAZ YARN TRADERS
STYLE.CSS PART-1
===============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#fff;
    color:#333;
    line-height:1.6;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/*==============================
HEADER
===============================*/

header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    background:#111;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo h2{
    color:#fff;
    font-size:30px;
    font-weight:700;
}

.logo span{
    color:#d4af37;
}

nav ul{
    display:flex;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    color:#fff;
    font-size:16px;
    font-weight:500;
    transition:.4s;
}

nav ul li a:hover,
nav ul li a.active{
    color:#d4af37;
}

.contact{
    width: 100%;
    padding: 80px 10%;
    background: #f5f5f5;
    margin-top: 10px;
}

.contact-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info{
    flex: 1;
    min-width: 320px;
}

.contact-info h1{
    font-size: 42px;
    color: #222;
    margin-bottom: 20px;
}

.contact-info p{
    font-size: 17px;
    color: #555;
    line-height: 28px;
    margin-bottom: 35px;
}

.info-box{
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-box i{
    width: 55px;
    height: 55px;
    background: #d4af37;
    color: black;
    border-radius: 50%;
    text-align: center;
    line-height: 55px;
    font-size: 22px;
    margin-right: 20px;
}

.info-box h3{
    color: #222;
    margin-bottom: 5px;
    font-size: 20px;
}

.info-box p{
    color: #666;
    font-size: 16px;
    margin: 0;
}

.contact-form{
    flex: 1;
    min-width: 350px;
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form form{
    width: 100%;
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color: #1e3a8a;
    box-shadow: 0 0 8px rgba(30,58,138,0.2);
}

.contact-form textarea{
    resize: none;
}

.contact-form button{
    width: 100%;
    padding: 15px;
    background: #d4af37;
    color: black;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button i{
    margin-left: 8px;
}

.contact-form button:hover{
    background: black;
    color: #d4af37;
}

@media (max-width: 768px){

    .contact{
        padding: 60px 6%;
    }

    .contact-container{
        flex-direction: column;
    }

    .contact-info h1{
        font-size: 34px;
    }

    .contact-form{
        width: 100%;
        min-width: 100%;
    }
}



footer{
    background:#111;
    color:#fff;
    padding:70px 0 20px;
}

footer .container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-box h2{
    color:#d4af37;
    margin-bottom:20px;
}

.footer-box h3{
    color:#d4af37;
    margin-bottom:20px;
}

.footer-box p{
    color:#ccc;
    margin-bottom:12px;
    line-height:28px;
}

.footer-box ul{
    list-style:none;
}

.footer-box ul li{
    margin-bottom:12px;
}

.footer-box ul li a{
    color:#ccc;
    transition:.3s;
}

.footer-box ul li a:hover{
    color:#d4af37;
    padding-left:8px;
}

.footer-box i{
    color:#d4af37;
    margin-right:10px;
}

.copyright{
    border-top:1px solid rgba(255,255,255,.1);
    text-align:center;
    margin-top:50px;
    padding-top:20px;
    color:#aaa;
}


/*=============================
WHATSAPP BUTTON
=============================*/

.whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    text-decoration:none;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:.3s;
    z-index:999;
}

.whatsapp:hover{
    transform:scale(1.1);
}


/*=============================
SCROLLBAR
=============================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#eee;
}

::-webkit-scrollbar-thumb{
    background:#d4af37;
    border-radius:20px;
}


/*=============================
SECTION TITLE
=============================*/

section h2{
    font-weight:700;
}

section h4{
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}


/*=============================
ANIMATION
=============================*/

.card,
.service-box,
.why-box,
.about-image img{
    transition:.4s ease;
}

.about-image img:hover{
    transform:scale(1.03);
}

.card:hover,
.service-box:hover{
    transform:translateY(-10px);
}


/*=============================
RESPONSIVE
=============================*/

@media(max-width:991px){

header .container{
    flex-direction:column;
    height:auto;
    padding:20px 0;
}

nav ul{
    margin-top:20px;
    flex-wrap:wrap;
    justify-content:center;
}

nav ul li{
    margin:10px 15px;
}

.hero h1{
    font-size:45px;
}

.hero h2{
    font-size:24px;
}

.about .container{
    flex-direction:column;
}

.about-image{
    margin-bottom:40px;
}

}

@media(max-width:768px){

.hero{
    padding:120px 20px;
    height:auto;
}

.hero h1{
    font-size:35px;
}

.hero h2{
    font-size:22px;
}

.hero p{
    font-size:16px;
}

.btn,
.btn2{
    display:block;
    width:220px;
    margin:15px auto;
}

.products h2,
.services h2,
.why h2,
.contact-home h2,
.about h2{
    font-size:32px;
}

.counter .container{
    grid-template-columns:1fr 1fr;
}

}

@media(max-width:576px){

.logo h2{
    font-size:22px;
}

.hero h1{
    font-size:28px;
}

.hero h3{
    font-size:20px;
}

.hero h2{
    font-size:18px;
}

.hero p{
    font-size:15px;
}

.counter .container{
    grid-template-columns:1fr;
}

footer .container{
    grid-template-columns:1fr;
}

}